package be.one.paq.repository;

import java.util.List;

public interface IGenericRepository<K, E> {

	public abstract void persist(E entity);

	public abstract void remove(E entity);

	public abstract E merge(E entity);

	public abstract void refresh(E entity);

	public abstract E findById(K id);

	public abstract E flush(E entity);

	public abstract List<E> findAll();

	public abstract Integer removeAll();

}